package cn.com.bluemoon.daps.model.core.file.export;

import cn.com.bluemoon.daps.common.toolkit.BmAssetUtils;
import cn.com.bluemoon.daps.common.validation.JValidUtils;

/**
 * @author Jarod.Kong
 * @date 2021/3/23 9:42
 */
public abstract class BaseFileExport<T> implements IFileExport<T> {
    /**
     * 校验
     * @param fileExport 入参
     */
    protected void check0(FileExport fileExport) {
        BmAssetUtils.notNull(fileExport);
        BmAssetUtils.isTrue(JValidUtils.INSTANCE.validate(fileExport).isEmpty());
    }

}
